package com.mj.haier.rrskx.repository;

import java.util.List;
import java.util.Optional;

import com.mj.haier.rrskx.domain.CarsTeamInfo;
import org.springframework.data.jpa.repository.*;
import org.springframework.stereotype.Repository;


/**
 * Spring Data  repository for the CarsTeamInfo entity.
 */
@SuppressWarnings("unused")
@Repository
public interface CarsTeamInfoRepository extends JpaRepository<CarsTeamInfo, String> {

    Optional<CarsTeamInfo> findByCarsTeamId(String carsTeamId);

    boolean deleteByCarsTeamId(String carsTeamId);

    List<CarsTeamInfo> findAllByNetpointAndValidateFlag(String netpoint, String validateFlag);
}
